import config from "@/config";
import http from "@/utils/request";
// 获取设备页面所有信息
export const getData = {
	url: `${config.BASE_URL}/audit/gettown`,
	name: "镇武装部审核-获取所有信息",
	get: async function () {
		return await http.get(this.url);
	},
};
// 姓名查询功能
export const searchData = {
	url: `${config.BASE_URL}/audit/gettownbyname`,
	name:"镇武装部审核-姓名查找功能",
	post: async function(params="")  {
		return await http.post(this.url+params)
	}
}
// 审核功能
export const judgeTownApi = {
	url:`${config.BASE_URL}/audit/town`,
	name:"镇武装部审核-审核功能",
	body:{
		examineId: "",
		townAuditReason: "",
		townAuditResult: ""
	},
	post: async function() {
		return await http.post(this.url,this.body)
	}
}
